
using System;

namespace ERP_RORZE_TOOL.Common.ValueObject
{
    [Serializable]
	public class Staff
	{
		#region Members
		protected string staffID;
		protected string staffName;
		protected DateTime birthday;
		protected DateTime hireDate;
		protected DateTime stopDate;
		protected string groupID;
		protected string personalInf;
		protected byte sex;
		protected string tempId;
		#endregion
		#region Public Properties

		/// <summary>
		/// Property relating to database column StaffID(nvarchar(50),not null)
		/// </summary>
		public string StaffID
		{
			get
			{
				return staffID;
			}
			set
			{
				staffID = value;
			}
		}

		/// <summary>
		/// Property relating to database column StaffName(nvarchar(250),not null)
		/// </summary>
		public string StaffName
		{
			get
			{
				return staffName;
			}
			set
			{
				staffName = value;
			}
		}

		/// <summary>
		/// Property relating to database column Birthday(datetime,not null)
		/// </summary>
		public DateTime Birthday
		{
			get
			{
				return birthday;
			}
			set
			{
				birthday = value;
			}
		}

		/// <summary>
		/// Property relating to database column HireDate(datetime,not null)
		/// </summary>
		public DateTime HireDate
		{
			get
			{
				return hireDate;
			}
			set
			{
				hireDate = value;
			}
		}

		/// <summary>
		/// Property relating to database column StopDate(datetime,not null)
		/// </summary>
		public DateTime StopDate
		{
			get
			{
				return stopDate;
			}
			set
			{
				stopDate = value;
			}
		}

		/// <summary>
		/// Property relating to database column GroupID(nvarchar(50),not null)
		/// </summary>
		public string GroupID
		{
			get
			{
				return groupID;
			}
			set
			{
				groupID = value;
			}
		}

		/// <summary>
		/// Property relating to database column PersonalInf(nvarchar(250),not null)
		/// </summary>
		public string PersonalInf
		{
			get
			{
				return personalInf;
			}
			set
			{
				personalInf = value;
			}
		}

		/// <summary>
		/// Property relating to database column Sex(tinyint,not null)
		/// </summary>
		public byte Sex
		{
			get
			{
				return sex;
			}
			set
			{
				sex = value;
			}
		}
		public string TempId
		{
			get
			{
				return tempId;
			}
			set
			{
				tempId = value;
			}
		}
		#endregion
	}
}
